//
//  SmartSortPopView.h
//  LvXi_newVersion
//
//  Created by 王敏 on 16/8/31.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SmartSortPopView;

@protocol SmartSortPopViewDelegate <NSObject>

@optional
-(void)SmartSortPopView:(SmartSortPopView*)smartSortPopView didSelectedsortType:(NSInteger)type;
@end
@interface SmartSortPopView : UIView
/**排序选项*/
@property(nonatomic,strong)NSArray * options;

/**代理指针*/
@property(nonatomic,assign)id<SmartSortPopViewDelegate>delegate;
-(void)hidden;
@end


@interface SmartSortPopViewSortButton : UIView


/**文字*/
@property(nonatomic,copy)NSString* title;


/**下画线*/
@property(nonatomic,strong)UIView * underLine;

/**是否选中*/
@property(nonatomic,getter=isSelected)BOOL selected;

/**默认颜色*/
@property(nonatomic,strong)UIColor * defaultColor;

/**选中颜色*/
@property(nonatomic,strong)UIColor * selectedColor;

/***下划线默认颜色*/
@property(nonatomic,strong)UIColor * underLineDefauleColor;

/**SEL*/
-(void)addTarget:(id)target action:(SEL)sel;
@end